#!/usr/bin/env python
# -*- coding: utf-8 -*-

from django.conf.urls.defaults import *

urlpatterns = patterns('usermanagement.views',
                        (r'change/password/$', 'changepasswordview'),
                        (r'lost/password/$', 'lostpasswordview'),
                        (r'lost/password/activation/(?P<email>.+)/(?P<activation_hash>.+)/$', 'lostpasswordactivation'),
                        (r'register/$', 'registerview'),
                        (r'activation/(?P<email>.+)/(?P<activation_hash>.+)/$', 'activationview'),
                        (r'index/$', 'index')
                      )

urlpatterns += patterns('', 
                            (r'^login/$', 'usermanagement.views.loginview'),
                            (r'^logout/$', 'django.contrib.auth.views.logout',
                            {'next_page' : '/'}))
